package com.wzq.app.ui.splash;

import android.content.Intent;
import android.os.Handler;

import com.wzq.app.R;
import com.wzq.app.base.BaseActivity;
import com.wzq.app.utils.LaunchUtils;
import com.wzq.app.utils.SPUtils;

/**
 * @author : chenru
 * @功能描述:
 * @创建时间: 2017/7/16
 */

public class SplashActivity extends BaseActivity {
    @Override
    public int getLayoutId() {
        return R.layout.splash_activity;
    }

    @Override
    public void configView() {

    }

    @Override
    public void requestData() {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                jump();
            }
        }, 2000);
    }

    public void jump() {
        LaunchUtils.launchLogin(mContext);
        finish();
    }
}
